package cn.edu.hqu.javaee.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class WelcomeController {
	@GetMapping("/welcome")//http://localhost:8080/course/welcome
	public String welcome() {
		return "welcome";//welcome---templates里面的welcome.html
	}
}
